<?php 


echo "<div id=video_page>";
	if (isset($video)) {
		
		echo "<h3>".$video['Video']['name']."</h3>";
		
		//OBJETO EMBED do Youtube
		echo "<object width='425' height='344'>";
		echo "<param name='movie' value='http://www.youtube.com/v/".$video['Video']['idvideo']."'></param>";
		echo "<param name='allowFullScreen' value='true'>";
		echo "</param><param name='allowscriptaccess' value='always'></param>";
		echo "<embed src='http://www.youtube.com/v/".$video['Video']['idvideo']."' type='application/x-shockwave-flash' allowscriptaccess='always' allowfullscreen='true' width='425' height='344'></embed>";
		echo "</object>";
		
		echo "<p>".$video['Video']['description']."</span></p>";
		
		echo "<p><a class='link_video_title' href='".$video['Video']['url']."'>Clique aqui para ver o video no YouTube</a></p>";
		
	} else {
		echo "<p>Video não encontrado.</p>"; 
	}
echo "</div>";